Get a PDF

Make an Identity

[Also posted at https://eugenebo.wordpress.com/2017/02/15/make-an-identity/ and https://eugenebo.livejournal.com/205432.html]

You probably have seen mathematical puzzles of this type before. Someone gives you several numbers and asks to place arithmetic and “other mathematical signs” between or around them so that the resulting expression is evaluated as some target number.

For example, if the numbers are 2, 3, 4, with the target is 10, one of the solutions might be:

10 = -(2-3*4)

Or here is another:

10 = 2*3 + 4

Here, I would like to present a general solution to this problem when methematical signs include elementary analytic functions and all numbers are integers.

Let’s start with the core relation between hyperbloic functions (https://en.wikipedia.org/wiki/Hyperbolic_function):

Cosh2(x) – Sinh2(x) = 1

From that, the relation between the inverse hyperbolic functions immediately follows:

Cosh(ArcSinh(x)) = √(1+x2)

Using x = √k, one arrives then to a relation that converts k into k+1:

Cosh(Arcsinh(√k)) = √(1+k)   (1)

By applying that formula repeatedly as many times as needed, we can increment integers. For example:

Cosh(Arcsinh(Cosh(Arcsinh(Cosh(Arcsinh(Cosh(Arcsinh(Cosh(A​rcsinh(2)))))))))) = 3

(you can check that with a calculator)

From now on, the rest is easy. We just apply that formula to one of the given numbers, and play it as many times as needed to produce 10, or whatever the target is.

What do you do with other numbers? You decrement them away to zeros with a reverse of formula (1):

Sinh(Arcсosh((√k)) = √(k-1)    (2)

So, for instance, if you wanted to make 10 out of numbers 8, 3, 5, 2, you would’ve written:

10 = Cosh(Arcsinh(...(Cosh(Arcsinh(8)))...)) + Sinh(Arcсosh(...(Sinh(Arcсosh(3)))...)) + Sinh(Arcсosh(...(Sinh(Arcсosh(5)))...)) + Sinh(Arcсosh(...(Sinh(Arcсosh(2)))...))

Where the first pair of calls is repeated 36 times, the second 9 times, the third 25 times, and the last one 4 times.

Obviously, further optimizations are possible, but this is sufficient as a solution.

Have a nice day,
Eugene

May 2017

===

Text Author(s): Eugene Bobukh     ===     Web is volatile. Files are permanent. Get a copy: [PDF] [Zipped HTML]     ===     Full list of texts: http://tung-sten.no-ip.com/Shelf/All.htm]     ===     All texts as a Zip archive: http://tung-sten.no-ip.com/Shelf/All.zip] [mirror: https://1drv.ms/u/s!AhyC4Qz62r5BhO9Xopn1yxWMsxtaOQ?e=b1KSiI]     ===     Contact the author: h o t m a i l (switch name and domain) e u g e n e b o (dot) c o m     ===     Support the author: 1. PayPal to the address above; 2. BTC: 1DAptzi8J5qCaM45DueYXmAuiyGPG3pLbT; 3. ETH: 0xbDf6F8969674D05cb46ec75397a4F3B8581d8491; 4. LTC: LKtdnrau7Eb8wbRERasvJst6qGvTDPbHcN; 5. XRP: ranvPv13zqmUsQPgazwKkWCEaYecjYxN7z     ===     Visit other outlets: Telegram channel http://t.me/eugeneboList, my site www.bobukh.com, Habr https://habr.com/ru/users/eugeneb0/posts/, Medium https://eugenebo.medium.com/, Wordpress http://eugenebo.wordpress.com/, LinkedIn https://www.linkedin.com/in/eugenebo, ЖЖ https://eugenebo.livejournal.com, Facebook https://www.facebook.com/EugeneBo, SteemIt https://steemit.com/@eugenebo, MSDN Blog https://docs.microsoft.com/en-us/archive/blogs/eugene_bobukh/     ===     License: Creative Commons BY-NC (no commercial use, retain this footer and attribute the author; otherwise, use as you want);     ===     RSA Public Key Token: 33eda1770f509534.     ===     Contact info relevant as of 7/15/2022.

===